package com.chain.qs.modules.biz.entity;

import com.chain.qs.common.persistence.DataEntity;
import com.google.common.collect.Lists;

import java.util.List;

/**
 * Created by cheshire_cat on 16/3/21.
 */
public class EquipmentGroup extends DataEntity<EquipmentGroup> {
    private static final long serialVersionUID = 1L;

    private String name;

    //设备类型(1：基础组;2:系统组)
    private String type;

    private List<Equipment> equipments = Lists.newArrayList();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Equipment> getEquipments() {
        return equipments;
    }

    public void setEquipments(List<Equipment> equipments) {
        this.equipments = equipments;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
